import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.StandardCopyOption;

public class FileUtils {

    public static void moveFile(String sourceUrl, String targetUrl) {
        File sourceFile = new File(sourceUrl);
        File destFile = new File(targetUrl);
        if (sourceFile.renameTo(destFile)) {
            System.out.println("File moved successfully");
        } else {
            System.out.println("Failed to move file");
        }
    }

    public static void deleteFile(File file) {
        file.delete();
    }
}
